package com.literature.threeGroup.service;

import com.github.pagehelper.Page;
import com.literature.threeGroup.pojo.Order;
import com.literature.threeGroup.pojo.ResourceInfo;
import com.literature.threeGroup.pojo.ResourceUpdate;
import com.literature.threeGroup.util.PageResult;

import java.util.List;

public interface ResourceMaintainService {

    List findAll();

    ResourceInfo findById(String id);

    List findUpdateList();


    void updateadd(ResourceUpdate resourceUpdate);

    List findCompany();

    ResourceUpdate findAuditId(String id);

    List findOrderList();

    PageResult findOrderList1(Order order, int pageNum, int pageSize);

    Order findOrderId(String id);

    void updateOrder(String id);

    PageResult findupdateList(ResourceUpdate resourceUpdate, int pageNum, int pageSize);

    Page<ResourceInfo> findAll2(ResourceInfo resourceInfo, int page, int size);

    List<ResourceInfo> queryDevied();

    ResourceInfo findResourceId(String id);

    ResourceUpdate findResourceupId(String id);

}
